//
//  ExampleViewController.m
//  SDKSample
//
//  Created by SuSmile on 14-12-23.
//  Copyright (c) 2014年 Zhu‘s Game House. All rights reserved.
//

#import "ExampleViewController.h"

@implementation ExampleViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    // 初始化tableView的数据
    SampleTableListItem *item = [[SampleTableListItem alloc] initWithTitle:@"第一个单元" explain:@"测试描述" controllerData:@"FirstExampleViewController"];
    
    SampleTableListItem *item2 = [[SampleTableListItem alloc] initWithTitle:@"图片剪切" explain:@"自定义剪切框" controllerData:@"SelectPicExampleViewController"];
    
    SampleTableListItem *item3 = [[SampleTableListItem alloc] initWithTitle:@"图片多选" explain:@"相册里选择多张图片" controllerData:@"MultiplepicExampleViewController"];
    
    SampleTableListItem *item4 = [[SampleTableListItem alloc] initWithTitle:@"动画" explain:@"动画练习" controllerData:@"AnimationExampleViewController"];
    
    SampleTableListItem *item5 = [[SampleTableListItem alloc] initWithTitle:@"重力感应" explain:@"感应数值显示" controllerData:@"GravityViewController"];
    
    SampleTableListItem *item6 = [[SampleTableListItem alloc] initWithTitle:@"自适应Cell" explain:@"cell自适应练习" controllerData:@"AutoCellExampleViewController"];
    
    SampleTableListItem *item7 = [[SampleTableListItem alloc] initWithTitle:@"通讯录" explain:@"通讯录的读写" controllerData:@"MailListViewController"];

    NSMutableArray *list = [[NSMutableArray alloc] initWithObjects:item, item2, item3, item4, item5, item6, item7,[SampleTableListItem alloc], nil];
    self.exampleTableView.dataList = list;
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
}

@end
